-
Notifications
You must be signed in to change notification settings - Fork 0
[IDLE-000] 센터 로그아웃&회원탈퇴 #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
언더라인이 그어진 라벨로 구성된 버튼입니다.
오탈자 수정: WorkerSetting -> CenterSetting
DeRegisterCoordinator구현한였습니다.
상태코드가 401인 경우가 무조건 토큰 만료가 아닐 수 있음으로, JWTError를 데이터 레이어에 구현하고 해당 에러인지 검사하도록했습니다.
토큰을 재발급하고도 401이 발생한다면, 토큰 만료 이외에 다른 문제가 발생했다는 의미이다 Ex(비밀번호 오류)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
변경된점
도메인 에러 리팩토링
기존의 도메인 에러처리는 도메인마다(ex, auth, post...)마다 서로다른 에러타입을 사용했습니다.
하지만, 여러 도메인에서 사용되는 에러가 있어 모두 하나의 타입이 에러를 관리하도록 구현하였습니다.
DomainError를 확인해주세요